package com.example.bankend.form;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;


@Data
public class DeleteUser {
    @JsonProperty("adminID")
    private Long adminID;
    @JsonProperty("adminName")
    private String adminName;
    @JsonProperty("adminPass")
    private String adminPass;
    @JsonProperty("customerID")
    private Long customerID;


    public boolean isTure() {
        return adminID != null && adminName != null && adminPass != null && customerID != null;
    }
}
